package com.fenxiangtech.mall.service;

import com.fenxiangtech.mall.entity.Theme;

import java.util.List;

/**
 * @author zhangjiashun
 */
public interface ThemeService {

    /**
     * 根据themeId获取Theme
     * @param themeID
     * @return
     */
    Theme getSimpleThemeByID(Long themeID);

    /**
     * 根据ids获取Theme列表
     * @param ids
     * @return
     */
    List<Theme> listSimpleThemeByIDs(String ids);

    /**
     * 根据themeId获取Theme,
     * 此方法获取的Theme带有Product列表
     * @param themeID
     * @return
     */
    Theme getThemeWithProducts(Long themeID);

}
